package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.common.domain.camunda.BpmProcessInstanceCreate;
import com.ruibang.glass.produce.domain.req.RawMaterialReceiveReq;
import com.ruibang.glass.produce.entity.RawMaterialReceive;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-18  19:40
 * @Description: TODO
 * @Version: 1.0
 */
public interface RawMaterialReceiveService extends IService<RawMaterialReceive> {
    void deleteById(String id);

    IPage<RawMaterialReceive> pageQuery(RawMaterialReceiveReq rawMaterialReceiveReq);

    ResultBody insert(RawMaterialReceive rawMaterialReceive);

    RawMaterialReceive getDetails(String id);

    ResultBody edit(RawMaterialReceive rawMaterialReceive);

    String getOrderNo();

    void processNotice(String businessId);

    ResultBody startProcess(BpmProcessInstanceCreate bpmProcessInstanceCreate);

    void deleteInfo(String id);
}
